export const useContent = () => {
    const pageStore = usePageStore();
    const navList = reactive([
        {
            name: "我的主页",
            path: "/admin.html",
            show: true,
        },
        {
            name: "账号管理",
            path: "/admin/account.html",
            show: pageStore.isMobile,
        },
        {
            name: "作品管理",
            path: "/admin/works.html",
            show: true,
        },
        {
            name: "素材管理",
            path: "/admin/materialManagement.html",
            show: !pageStore.isMobile,
        },
        {
            name: "交易中心",
            path: "/admin/tradingCenter.html",
            show: !pageStore.isMobile,
        },
        {
            name: "制作中",
            path: "/admin/making.html",
            show: true,
        },
        {
            name: "订单记录",
            path: "/admin/orderRecord.html",
            show: true,
        },
        {
            name: "已购记录",
            path: "/admin/buyTemplate.html",
            show: true,
        },
        {
            name: "我的积分",
            path: "/admin/score.html",
            show: true,
        },
        {
            name: "门票管理",
            path: "/admin/ticket.html",
            show: true,
        },
    ]);

    return {
        navList,
    };
};
